<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>系统菜单管理</title>
    <%@include file="/WEB-INF/views/commons/commons.jsp" %>
    <script type="text/javascript" src="/static/js/system/dictionary.js"></script>
    <script type="text/javascript" src="/static/js/system/dataItems.js"></script>
</head>


<body>

<%--布局--%>
<div class="easyui-layout" fit="true">
    <div id="p" data-options="region:'west'" title="数据字典" style="width: 600px">
        <table id="dictionary_datagrid"></table>
        <!--员工的工具栏-->
        <div id="tb">
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">添加</a>
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"
               data-cmd="remove">删除</a>
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true"
               data-cmd="reload">刷新</a>
        </div>


        <div id="dictionary_dialog">
            <form id="dictionary_form" method="post">
                <input type="hidden" id="dictionaryId" name="id">
                <table align="center" style="margin-top: 15px">


                    <tr>
                        <td>数据名称</td>
                        <td><input class="easyui-textbox" name="name">
                        </td>
                    </tr>

                    <tr>
                        <td>编码</td>
                        <td><input class="easyui-textbox" name="sn">
                        </td>
                    </tr>
                    <tr>
                        <td>数据简介</td>
                        <td><input class="easyui-textbox" name="intro">
                        </td>
                    </tr>
                </table>
            </form>
        </div>

        <!--员工底部按钮-->
        <div id="bb">
            <a href="#" class="easyui-linkbutton" iconCls="icon-save" data-cmd="save">保存</a>
            <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="cancel">关闭</a>
        </div>
    </div>


    <%--数据字典明细--%>
    <div data-options="region:'center'" title="数据字典明细">
        <table id="dataItems_datagrid"></table>
        <!--员工的工具栏-->
        <div id="tbi">
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-items="add">添加</a>
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-items="edit">编辑</a>
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"
               data-items="remove">删除</a>
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true"
               data-items="reload">刷新</a>
        </div>


        <div id="dataItems_dialog">
            <center>
                <form id="dataItems_form" method="post">
                    <input type="hidden" id="dataItemsId" name="id">
                    <table align="center" style="margin-top: 30px;padding:30px 60px;">
                        <div style="margin-bottom:40px">
                            <tr>
                                <td>数据名称</td>
                                <td><input data-options="labelPosition:'top'" style="width:100%;height:30px"
                                           class="easyui-textbox" name="name">
                                </td>
                            </tr>
                        </div>

                        <div style="margin-bottom:40px">
                            <tr>
                                <td>编码</td>
                                <td><input data-options="labelPosition:'top'" style="width:100%;height:30px"
                                           class="easyui-textbox" name="parentSn">
                                </td>
                            </tr>
                        </div>

                        <div style="margin-bottom:40px">
                            <tr>
                                <td>数据简介</td>
                                <td><input data-options="labelPosition:'top'" style="width:100%;height:30px"
                                           class="easyui-textbox" name="intro">
                                </td>
                            </tr>
                        </div>
                    </table>
                </form>
            </center>
        </div>

        <!--员工底部按钮-->
        <div id="bbi">
            <a href="#" class="easyui-linkbutton" iconCls="icon-save" data-items="save">保存</a>
            <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" data-items="cancel">关闭</a>
        </div>
    </div>
</div>
</div>
</body>
</html>
